Total Complexity | 49 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 379 |
Lines of code | 269 |
Logical lines of code | 117 |
Comment lines | 46 |
Methods | 8 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_post_data() | 30 | 23 | 106 | |
get_last_product_data() | 46 | 8 | 34 | |
get_post_list_data() | 51 | 8 | 26 | |
register_routes() | 41 | 1 | 79 | |
get_category_data() | 66 | 3 | 7 | |
get_image_sizes() | 67 | 3 | 7 | |
permission_check() | 70 | 2 | 7 | |
__construct() | 81 | 1 | 3 |